columnview: Increase the autoscroll threshold
authorMatthias Clasen <mclasen@redhat.com>
Fri, 19 Jun 2020 16:23:28 +0000 (12:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 19 Jun 2020 19:26:10 +0000 (15:26 -0400)
With autoscroll during DND, we stop when you hit the edge
of the widget, so a larger threshold makes sense to avoid
hitting the edge by accident.

gtk/gtkcolumnview.c

index 1b6be13a44ad3675f1ed15559bd7039b5db1c231..48f785d34a807b68ee7f6441e6f46506daf7f43c 100644 (file)
@@ -779,7 +779,7 @@ remove_autoscroll (GtkColumnView *self)
     }
 }
 
-#define SCROLL_EDGE_SIZE 15
+#define SCROLL_EDGE_SIZE 30
 
 static void
 update_autoscroll (GtkColumnView *self,